﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" CodeFile="leave.aspx.cs" Inherits="vboard_membership_leave" %>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
	<div class="Title"><%= GetLocalResourceObject("Title").ToString() %></div>

	<div class="ControlForm">
		<asp:Panel ID="PasswordCheckPanel" runat="server"
			DefaultButton="PasswordCheckButton">
			<div class="Content"><%= GetLocalResourceObject("CheckPasswordContent").ToString()%></div>

			<dl class="VGlobal_FormFieldDL60">
				<dt>
					<asp:Label ID="PasswordLabel" runat="server"
						Text="<%$ Resources:PasswordLabel %>"
						AssociatedControlID="PasswordTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="PasswordTextBox" runat="server"
						TextMode="Password"
						Columns="30"
						MaxLength="200"
						CssClass="VWebGlobal_TextBox"
						ValidationGroup="PasswordCheck" />
					<asp:RequiredFieldValidator ID="PasswordTextBoxRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="PasswordTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Password_Insert %>"
						ValidationGroup="PasswordCheck"
						SetFocusOnError="true" />
					<ajaxToolkit:ValidatorCalloutExtender ID="PasswordTextBoxRequiredFieldValidatorCalloutExtender" runat="Server"
						TargetControlID="PasswordTextBoxRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt></dt>
				<dd>
					<asp:Button ID="PasswordCheckButton" runat="server"
						Text="<%$ Resources:PasswordCheckButton %>"
						OnClick="PasswordCheckButton_Click"
						ValidationGroup="PasswordCheck" />
				</dd>
			</dl>
		</asp:Panel>

		<asp:Panel ID="LeaveFormPanel" runat="server" Visible="false">
			<div class="Content"><%= GetLocalResourceObject("LeaveContent").ToString() %></div>
			
			<div>
				<asp:Button ID="LeaveButton" runat="server"
					OnClick="LeaveButton_Click"
					Text="<%$ Resources:LeaveButton %>" />
			</div>
		</asp:Panel>
	</div>

</asp:Content>